

<%@ page import="edu.uow.devdocs.DevelopmentChecklist" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'developmentChecklist.label', default: 'DevelopmentChecklist')}" />
		<title><g:message code="default.list.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#list-developmentChecklist" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="list-developmentChecklist" class="content scaffold-list" role="main">
			<h1><g:message code="default.list.label" args="[entityName]" /></h1>
			<g:flashMessage/>
			<table>
				<thead>
					<tr>
					
						<g:sortableColumn property="description" title="${message(code: 'developmentChecklist.description.label', default: 'Description')}" />
					
						<th><g:message code="developmentChecklist.project.label" default="Project" /></th>
					
						<th><g:message code="developmentChecklist.status.label" default="Status" /></th>
					
						<th><g:message code="developmentChecklist.developmentTask.label" default="Development Task" /></th>
					
						<th><g:message code="developmentChecklist.checklist.label" default="Checklist" /></th>
					
						<g:sortableColumn property="checklistContent" title="${message(code: 'developmentChecklist.checklistContent.label', default: 'Checklist Content')}" />
					
					</tr>
					<tr>
					<form action = "search">
					

	<th> 
	<g:textField name="description" value="${params?.description}" />
	</th>



	<th> 
	<g:select id="project" name="project.id" from="${edu.uow.devdocs.Project.list()}" optionKey="id" value="${params?.project?.id}" class="many-to-one" noSelection="['null': '']"/>
	</th>



	<th> 
	<g:select id="status" name="status.id" from="${edu.uow.devdocs.DevelopmentChecklistStatus.list()}" optionKey="id" value="${params?.status?.id}" class="many-to-one" noSelection="['null': '']"/>
	</th>



	<th> 
	<g:select id="developmentTask" name="developmentTask.id" from="${edu.uow.devdocs.DevelopmentTask.list()}" optionKey="id" value="${params?.developmentTask?.id}" class="many-to-one" noSelection="['null': '']"/>
	</th>



	<th> 
	<g:select id="checklist" name="checklist.id" from="${edu.uow.devdocs.Checklist.list()}" optionKey="id" value="${params?.checklist?.id}" class="many-to-one" noSelection="['null': '']"/>
	</th>



	<th> 
	<g:textField name="checklistContent" value="${params?.checklistContent}" />
	</th>


					<th><button type="submit">-></button></th></form></tr>
				</thead>
				<tbody>
				<g:each in="${developmentChecklistInstanceList}" status="i" var="developmentChecklistInstance">
					<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
					
						<td><g:link action="edit" id="${developmentChecklistInstance.id}">${fieldValue(bean: developmentChecklistInstance, field: "description")}</g:link></td>
					
						<td>${fieldValue(bean: developmentChecklistInstance, field: "project")}</td>
					
						<td>${fieldValue(bean: developmentChecklistInstance, field: "status")}</td>
					
						<td>${fieldValue(bean: developmentChecklistInstance, field: "developmentTask")}</td>
					
						<td>${fieldValue(bean: developmentChecklistInstance, field: "checklist")}</td>
					
						<td>${fieldValue(bean: developmentChecklistInstance, field: "checklistContent")}</td>
					
					</tr>
				</g:each>
				</tbody>
			</table>
			<div class="pagination">
				<g:paginate total="${developmentChecklistInstanceTotal}" />
			</div>
		</div>
	</body>
</html>


